package cn.wolfcode.car.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter
@Setter
public class BpmnInfo {
    private Long id;

    private String bpmnName;

    private String bpmnType;

    private String deploymentId;

    private String actProcessId;

    private String actProcessKey;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm" ,timezone = "GMT+8")
    private Date deployTime;

    private String info;

    @Override
    public String toString() {
        return "BpmnInfo{" +
                "id=" + id +
                ", bpmnName='" + bpmnName + '\'' +
                ", bpmnType='" + bpmnType + '\'' +
                ", deploymentId='" + deploymentId + '\'' +
                ", actProcessId='" + actProcessId + '\'' +
                ", actProcessKey='" + actProcessKey + '\'' +
                ", deployTime=" + deployTime +
                ", info='" + info + '\'' +
                '}';
    }
}